Anti-Yacc: MOF-to-Text

نویسندگان

  • David Hearnden
  • Kerry Raymond
  • Jim Steel
چکیده

The Object Management Group (OMG) is pursuing its new Model-Driven Architecture (MDA) strategy. The Meta-Object Facility (MOF) is an important technology to support the MDA, both as a general modelling technique but also specifically to support the definition of other modelling systems. The OMG has standardised the generation of repositories based on MOF models. Anti-Yacc is a tool that can be used to extract the contents of MOF-based repository in textual form. The Anti-Yacc tool takes as input the specification of grammar rules, lexical rules, and MOF-extraction rules, from which a Java program is generated to extract the contents of a MOF-based repository on demand. Anti-Yacc can be used for code generation, interfacing with legacy syntaxes, and general report

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

How to improve the performance of YECC-generated Erlang (JAM) parsers

In the paper mentioned earlier [2], the authors describe how they achieve a significant speed up for YACC generated parsers using their method. What they have done is to generate directly, executable, hard-coded parsers. This is in contrast to the standard YACC method of generating interpreted, table-driven parsers. This alternative way of generating parsers seems to be very promising for parse...

متن کامل

Parser Design

A parser is a tool used to split a text stream, typically in some human readable form, into a representation suitable for understanding by a computer. Usually this representation will be either a stream of tokens, or some tree structure, such as the abstract syntax tree for a programming language. There are many parser tools in existence, but by far the most well known are Lex [?] and Yacc [?],...

متن کامل

XParse: A Language for Parsing Text to XML

This paper presents a domain-specific language, XParse, that attempts to combine the power of tools like lex and yacc, which generate efficient parsers from declarative specifications, with the convenience, safety, and usability of textor XML-processing languages such as Perl or XSLT. XParse is a standalone language which provides lex-style regular expression matching and yacc-style LALR(1) par...

متن کامل

Parsing Non-LK( k ) Grammars with Yacc

Of the parser generating tools currently in use, yacc (or one of its several variants) is perhaps the most frequently employed. However, because of inherent ambiguities there are some languages (such as C++) that a yacc-generated parser cannot successfully compile. This paper describes a set of minor modifications to yacc-like tools that allows them to be used in a straightforward way to parse ...

متن کامل

Anti-riboflavin activity of 8-O-alkyl derivatives of riboflavin in some Gram-positive bacteria.

Two new 8-O-alkyl derivatives of riboflavin (RF), i.e., 8-methoxy- (MOF), and 8-ethoxy-8-demethyl-D-riboflavin (EOF), their tetraacetate, and the tetraacetate of 8-hydroxy-8-demethyl-D-riboflavin (HOF) were synthesized. The anti-RF activity of MOF, EOF and HOF was estimated from the ratio CR/CI, where CI is the concentration of test flavin added to the culture medium and CR is the minimum conce...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2002